function tijao() { 
	 var  index_temp = document.getElementById('index_temp').value;
	 var save_dir = document.getElementById('save_dir').value;
	 var default_page = document.getElementById('default_page').value;
	 document.getElementById('backMessage').innerHTML = '<img src="/program/admin/images/wait.gif"/>正在更新，请稍等...';
	 
 	 $.ajax({
		   type: 'POST',
		   url: 'createHtml.jsp',
		   data: 'index_temp='+index_temp+'&save_dir='+save_dir+'&default_page='+default_page,
		   success: function(msg){ 
		   	 	document.getElementById('backMessage').innerHTML=msg;
			 }
		}); 
}

function indextijao() { 
	var  index_model = document.getElementById('index_model').value;
	document.getElementById('backMessage').innerHTML = '<img src="/program/admin/images/wait.gif"/>正在更新，请稍等...';
	 
 	 $.ajax({
		   type: 'POST',
		   url: 'updateIndexAjax.jsp',
		   data: 'index_model='+index_model,
		   success: function(msg){
		   	 	document.getElementById('backMessage').innerHTML=msg;
			 }
		}); 
}